package org.linlinjava.litemall.db.dao;

import org.apache.ibatis.annotations.Param;
import org.linlinjava.litemall.db.vo.AdminIncomeVo;
import org.linlinjava.litemall.db.vo.IncomeOrderVo;

import java.util.List;

public interface IncomeMapper {

    List<IncomeOrderVo> findIncomeOrder(@Param("userId") Integer userId,@Param("showType") Integer showType);

    List<AdminIncomeVo> queryAdminList(@Param("id")Integer id,@Param("userId") Integer userId, @Param("incomeUserId") Integer incomeUserId
            ,@Param("disType") Integer disType,@Param("disLevel") Integer disLevel,@Param("status") Integer orderStatus,@Param("orderSn") Byte orderSn
            ,@Param("page") Integer page,@Param("limit") Integer limit,@Param("sort") String sort,@Param("order") String order);
}
